{% extends "application01/base.html" %}
{% load django_bootstrap5 %}
{% block content %}
<div class="container mt-5">
    <p><a href="{% url 'application01:topic' topic.id %}" style="font-size: 20px;">返回{{ topic }}</a></p>
    <h2>编辑条目：</h2>
    <form action="{% url 'application01:edit_entry' entry.id %}" method="post" class="mb-5">
        {% csrf_token %}
        {% bootstrap_form form layout='horizontal' %}
        {% bootstrap_button button_type="submit" content="保存更改" %}
    </form>
</div>
{% endblock content %}